package api

import (
	"blog/library"
)

type RoleController struct {
	base
}

func (r *RoleController) List() {
	//page, _ := r.GetInt64("page", 1)
	//limit, _ := r.GetInt64("limit", 1)
	//var queryBuilder models.QueryBuilder
	//queryBuilder.Limit = limit
	//queryBuilder.Page = page
	//queryBuilder.Order = []string{"id"}
	//categoryList, total, _ := blog.GetBlogList(queryBuilder)
	api := library.Api{}
	api.Data = 1
	api.Total = 1
	r.Data["json"] = api
	r.ServeJSON()
}
